<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.hanbitexam.vo.CategoryVo"%>
<%@page import="flexjson.JSONSerializer"%>
<%
ArrayList<CategoryVo> list = (ArrayList)request.getAttribute("list");
JSONSerializer obj =new JSONSerializer();
response.getWriter().print(obj.serialize(list));
%>
<!-- 
<s:iterator value="list" status="stat">
	<s:property value="idx"/>
	<s:property value="category"/> 
</s:iterator>
 -->